package top.lyjwn.todo.mail;

public class MailConfigParam {

    /**
     * nigezhu.top
     */
    private String host;

    /**
     * 465
     */
    private Integer prot;

    /**
     * luoyujie@nigezhu.top
     */
    private String user;

    /**
     * 123456
     */
    private String password;

    /**
     * TODO工作室
     */
    private String nickname;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getProt() {
        return prot;
    }

    public void setProt(Integer prot) {
        this.prot = prot;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public boolean IsEnable() {
        return this.host != null && this.prot != null && this.user != null && this.password != null && this.nickname != null;
    }
}
